]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
15 years agoPut a hot corner on each monitor
Alexander Larsson [Wed, 23 Feb 2011 14:17:25 +0000 (15:17 +0100)]
Put a hot corner on each monitor

https://bugzilla.gnome.org/show_bug.cgi?id=642881

15 years agoMove HotCorner to chrome instead of in the panel
Alexander Larsson [Wed, 23 Feb 2011 13:35:45 +0000 (14:35 +0100)]
Move HotCorner to chrome instead of in the panel

This prepares for there being multiple hot corners, one per monitor.

https://bugzilla.gnome.org/show_bug.cgi?id=642881

15 years agoFactor out hot corner handling into a class
Alexander Larsson [Wed, 23 Feb 2011 10:22:49 +0000 (11:22 +0100)]
Factor out hot corner handling into a class

This is needed so that we can have several instances, one per
monitor.

This also makes the hot corner environments a container which
contains the corner.

https://bugzilla.gnome.org/show_bug.cgi?id=642881

15 years agoKeyboardStatus: fix showing current layout
Giovanni Campagna [Wed, 23 Feb 2011 17:52:35 +0000 (18:52 +0100)]
KeyboardStatus: fix showing current layout

Util.spawn accepts an array of strings as the arguments, and will
not implicitly convert other types.

https://bugzilla.gnome.org/show_bug.cgi?id=643104

15 years agoA11yStatus: ignore an user default of O dpi
Giovanni Campagna [Mon, 17 Jan 2011 18:11:11 +0000 (19:11 +0100)]
A11yStatus: ignore an user default of O dpi

The default for the DPI setting is 0, but 0 * any scaling factor
is 0, so we need to deal with that, by falling back to X default.

https://bugzilla.gnome.org/show_bug.cgi?id=639762

15 years agoUpdated Italian translation
Luca Ferretti [Wed, 23 Feb 2011 17:28:19 +0000 (18:28 +0100)]
Updated Italian translation

15 years agoUpdated Arabic translation
Khaled Hosny [Wed, 23 Feb 2011 16:51:31 +0000 (18:51 +0200)]
Updated Arabic translation

15 years agoAdd missing file
Khaled Hosny [Wed, 23 Feb 2011 16:49:12 +0000 (18:49 +0200)]
Add missing file

15 years agopanel: Move panel border into the background
Florian Müllner [Mon, 21 Feb 2011 18:04:40 +0000 (19:04 +0100)]
panel: Move panel border into the background

In the mockups the bottom border of active panel buttons is drawn
on top of the panel's border. To get this effect, move the panel
border into the background, so that it is not subtracted from the
vertical space given to the buttons. Adjust the drawing of the rounded
corners to reflect that change.

https://bugzilla.gnome.org/show_bug.cgi?id=643001

15 years agopolkit: return error when authentication dialog is dismissed
David Zeuthen [Tue, 22 Feb 2011 21:54:08 +0000 (16:54 -0500)]
polkit: return error when authentication dialog is dismissed

This allows PolicyKit applications to disambiguate between when the
authentication dialog is dismissed versus when authentication fails
(e.g. the wrong password has been entered).

See https://bugs.freedesktop.org/show_bug.cgi?id=30653 for more
information.

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agoAdd explicit x11 dependencies
Rico Tzschichholz [Tue, 22 Feb 2011 18:34:52 +0000 (19:34 +0100)]
Add explicit x11 dependencies

Since Ubuntu patches clutter-1.0.pc to remove x11 from the requires,
we have to list it explicitly for places we use X11 functions, like
ST and the shell recorder.

https://bugzilla.gnome.org/show_bug.cgi?id=643003

15 years agoRemove unused tracking of visibility in Chrome
Alexander Larsson [Mon, 21 Feb 2011 14:30:40 +0000 (15:30 +0100)]
Remove unused tracking of visibility in Chrome

https://bugzilla.gnome.org/show_bug.cgi?id=642881

15 years agoNo need to Check for grabbed menus on hot corner enter/click
Alexander Larsson [Wed, 23 Feb 2011 10:09:46 +0000 (11:09 +0100)]
No need to Check for grabbed menus on hot corner enter/click

We never get enter events anyway due to the menu code, and if
the user clicks on a non-menu the menu is removed and ungrabbed
before the target actor gets the event anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=642881

15 years agodateMenu: Make sure that the event list fills the available width
Adel Gadllah [Wed, 23 Feb 2011 13:34:37 +0000 (14:34 +0100)]
dateMenu: Make sure that the event list fills the available width

Currently the menu has a hardcoded width which result into the hover
effect of the "Open Calendar" item being "cut off" in the middle rather
then reaching to the edge.

To be consistent with other menu items, make it expand to fill the available
space.

15 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Wed, 23 Feb 2011 08:40:52 +0000 (09:40 +0100)]
Updated Norwegian bokmål translation.

15 years agoBump version to 2.91.90
Owen W. Taylor [Wed, 23 Feb 2011 02:54:58 +0000 (21:54 -0500)]
Bump version to 2.91.90

15 years agoRequire Mutter 2.91.90
Owen W. Taylor [Wed, 23 Feb 2011 03:45:54 +0000 (22:45 -0500)]
Require Mutter 2.91.90

2.91.90 is needed for MetaWindowActor ::position-changed signal

15 years agoUpdate calendar font style
Jonathan Strander [Wed, 16 Feb 2011 00:46:32 +0000 (18:46 -0600)]
Update calendar font style

Now that we are using Cantarell as the default UI font, some clarity
was reduced in using the calendar. Mockups already address this so
change the font styles in CSS to match the mockups.

https://bugzilla.gnome.org/show_bug.cgi?id=642194

15 years agognome-shell.modules: fix dependencies for upower
Owen W. Taylor [Wed, 23 Feb 2011 01:12:10 +0000 (20:12 -0500)]
gnome-shell.modules: fix dependencies for upower

We don't build dbus-glib so don't make upower depend on that, and
make gnome-shell depend on upower.

15 years agobuild: Add libusb dependency
Florian Müllner [Wed, 23 Feb 2011 00:56:14 +0000 (01:56 +0100)]
build: Add libusb dependency

UPower requires libusb-1.0.

15 years agognome-shell.modules: build upower with introspection
Owen W. Taylor [Wed, 23 Feb 2011 00:51:43 +0000 (19:51 -0500)]
gnome-shell.modules: build upower with introspection

The whole point of building upower is to get the introspection
support, so remove --enable-introspection=no from the autogenargs.

15 years agoRemove minimize and maximize buttons from title bar
Owen W. Taylor [Wed, 23 Feb 2011 00:32:46 +0000 (19:32 -0500)]
Remove minimize and maximize buttons from title bar

The minimize and maximize buttons on the titlebar have lost much of their
utility in GNOME 3: the minimize functionality is largely superceded by
the ability to switch windows in the overview and conveniently use
multiple workspaces, while the maximize functionality is available by
drag to the top gesture or double clicking on the title bar.

Removing these buttons significantly cleans up the default appearance
and avoids exposing a half-done implementation of minimization.

http://mail.gnome.org/archives/gnome-shell-list/2011-February/msg00192.html
https://bugzilla.gnome.org/show_bug.cgi?id=604237

15 years agostatusMenu: change how we stop the system
Ray Strode [Fri, 4 Feb 2011 23:37:54 +0000 (18:37 -0500)]
statusMenu: change how we stop the system

This updates the way we stop the system to
somewhat match the designs here:

https://live.gnome.org/GnomeShell/Design/Whiteboards/SystemStopRestart

We suspend by default unless suspend is unavailable, and offer shutdown
as a choice by hold down the alt key.

https://bugzilla.gnome.org/show_bug.cgi?id=636680

15 years agopopupMenu: add alternate menu item
Ray Strode [Mon, 21 Feb 2011 20:25:56 +0000 (15:25 -0500)]
popupMenu: add alternate menu item

This is special menu item that can alternate
between two choices when you hit the alt key.

It will be useful for getting a hybrid
suspend/power off menu item.

https://bugzilla.gnome.org/show_bug.cgi?id=636680

15 years agobuild: Add upower as dependency in moduleset
Ray Strode [Mon, 21 Feb 2011 18:44:19 +0000 (13:44 -0500)]
build: Add upower as dependency in moduleset

Now that we use it to suspend, we need to pull it
in during the build process.

https://bugzilla.gnome.org/show_bug.cgi?id=636680

15 years agopanel: Defer adding the user status menu to the manager
Florian Müllner [Tue, 22 Feb 2011 16:40:32 +0000 (17:40 +0100)]
panel: Defer adding the user status menu to the manager

PopupMenuManager relies on menus being added in the order of the
menu buttons they are attached to, so defer adding the user status
menu until the status icon menus have been added to make the manager
happy.

15 years agoMessageTray: Use status from gnome-session
Giovanni Campagna [Sat, 19 Feb 2011 15:49:56 +0000 (16:49 +0100)]
MessageTray: Use status from gnome-session

This patch modifies MessageTray behaviour so that normal (not urgent)
notifications are not shown when the user is Busy (they're sent
immediately to the Summary area). When status is then changed,
notifications still pending are shown again.
Additionally, when status is modified from Idle to anything other than
Busy, the message tray is forced open for 4 seconds, so that summary
icons are visible.

https://bugzilla.gnome.org/show_bug.cgi?id=617225

15 years agobuild: Bump polkit module
Florian Müllner [Tue, 22 Feb 2011 21:29:01 +0000 (22:29 +0100)]
build: Bump polkit module

GNOME Shell requires polkit-0.100.

15 years agoAdd a PolicyKit authentication agent
David Zeuthen [Mon, 21 Feb 2011 17:17:34 +0000 (12:17 -0500)]
Add a PolicyKit authentication agent

A PolicyKit Authentication Agent is a construct used to authenticate
one or more identities. See the PolicyKit documentation for more
details on authentication agents and how PolicyKit works:

    http://hal.freedesktop.org/docs/polkit/

Since gjs does not support subclassing a GObject class from Javascript
code, we bring in a native class to bridge the VFuncs to GObject
signals. Additionally, this native class also queues up authentication
requests so the user of the native class only has to deal with a
single outstanding request at any one time.

The file js/ui/polkitAuthenticationAgent.js introduces a singleton
that listens for authentication requests via the native class. This
singleton uses the PolkitAgent machinery to do the actual heavy-weight
lifting required for authentication (essentially a PAM conversation).

We currently don't allow the user to pick the identity to be
authenticated.

https://bugzilla.gnome.org/show_bug.cgi?id=642886

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 22 Feb 2011 19:48:39 +0000 (20:48 +0100)]
Updated Spanish translation

15 years agotweener: remove tweens when target.actor is destroyed
Owen W. Taylor [Tue, 22 Feb 2011 14:25:48 +0000 (09:25 -0500)]
tweener: remove tweens when target.actor is destroyed

We already remove tweens automatically when a Clutter actor is destroyed;
do the same when the target is a JS delegate with an actor property.

https://bugzilla.gnome.org/show_bug.cgi?id=642925

15 years agoShellWindowTracker: fix a reference counting bug
Giovanni Campagna [Sat, 19 Feb 2011 15:19:31 +0000 (16:19 +0100)]
ShellWindowTracker: fix a reference counting bug

When retrieving a ShellApp from the GHashTable of child processes,
we need to take an extra reference, that the GHashTable of windows
to apps will own.
Also add some documentation to avoid repeating this bug in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=642699

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Tue, 22 Feb 2011 06:14:33 +0000 (08:14 +0200)]
Updated Hebrew translation.

15 years agosearch-entry: Make the icon slightly smaller
Florian Müllner [Mon, 21 Feb 2011 17:41:58 +0000 (18:41 +0100)]
search-entry: Make the icon slightly smaller

Set the icon size in the search entry to 1em on designers' request.

15 years agopanel: Fix corner positions for multi-monitors
Florian Müllner [Mon, 21 Feb 2011 18:06:07 +0000 (19:06 +0100)]
panel: Fix corner positions for multi-monitors

The corner positions were only based on the panel's dimensions, its
position needs to be taken into account as well.

15 years agoUpdated Italian translation
Luca Ferretti [Mon, 21 Feb 2011 21:51:36 +0000 (22:51 +0100)]
Updated Italian translation

15 years agoshell_global: Use clutter_event_get_time rather then get_current_event_time
Adel Gadllah [Wed, 16 Feb 2011 20:12:07 +0000 (21:12 +0100)]
shell_global: Use clutter_event_get_time rather then get_current_event_time

Using clutter_get_current_event_time can result into too old timestamps
when there is no current Clutter or Mutter event, since
clutter_get_current_event_time() returns the timestamp of the last event
delivered to Clutter. This can result in, for example, grabs failing. Use
the event time of the current event (if any) and CurrentTime otherwise.

https://bugzilla.gnome.org/show_bug.cgi?id=642188

15 years agoUpdated Arabic translation
Khaled Hosny [Mon, 21 Feb 2011 21:39:18 +0000 (23:39 +0200)]
Updated Arabic translation

15 years agoAdjust padding of sources in summary
Marina Zhurakhinskaya [Mon, 21 Feb 2011 21:29:54 +0000 (16:29 -0500)]
Adjust padding of sources in summary

Make the right padding bigger and the left padding smaller, so that the
boundaries that trigger the accordion effect are more closely associated
with corresponding icons. Also slightly decrease the overall padding between
sources.

15 years agoworkspaces: Remove the unused '_removeSelf' method
Adel Gadllah [Mon, 21 Feb 2011 20:31:07 +0000 (21:31 +0100)]
workspaces: Remove the unused '_removeSelf' method

https://bugzilla.gnome.org/show_bug.cgi?id=640363

15 years agoStWidget: unset hover when unmapped
Marina Zhurakhinskaya [Sat, 19 Feb 2011 02:06:30 +0000 (21:06 -0500)]
StWidget: unset hover when unmapped

This ensures that the hover property doesn't return true after
the widget is unmapped while being hovered over.

https://bugzilla.gnome.org/show_bug.cgi?id=642726

15 years agoPopupMenu: introduce PopupMenuSection
Giovanni Campagna [Tue, 25 Jan 2011 21:04:57 +0000 (22:04 +0100)]
PopupMenu: introduce PopupMenuSection

Complex popup menus require the ability to manager sequences of items
as "sections", to which you can add and and remove items, as well
as hide and show.
PopupMenuSection does exactly that, leveraging the existing machinery
for submenus, but without being exposed as a submenu to the user.
Also, make getMenuItems() private, since it is used for different things
now and may change semantics in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=621707

15 years agoPopupMenu: make parameters overridable in items
Giovanni Campagna [Tue, 25 Jan 2011 21:06:40 +0000 (22:06 +0100)]
PopupMenu: make parameters overridable in items

Make all subclasses of PopupMenuBase accept a params argument, which
can be used to make the item non reactive, not responsive to hover
and, as a new feature, with a different style class.

https://bugzilla.gnome.org/show_bug.cgi?id=621707

15 years agoworkspaces: Remove obsolete comment
Adel Gadllah [Sat, 19 Feb 2011 23:39:10 +0000 (00:39 +0100)]
workspaces: Remove obsolete comment

https://bugzilla.gnome.org/show_bug.cgi?id=640361

15 years agoA11yStatus: fix resetting the GTK and icon themes
Giovanni Campagna [Fri, 18 Feb 2011 15:15:35 +0000 (16:15 +0100)]
A11yStatus: fix resetting the GTK and icon themes

If the Shell is started with HighContrast enabled, it will never
see another value for the GSettings keys. In that case, we just
reset to the default.

https://bugzilla.gnome.org/show_bug.cgi?id=642641

15 years agoKeyboardStatus: add "Show layout" item
Giovanni Campagna [Sat, 5 Feb 2011 18:30:16 +0000 (19:30 +0100)]
KeyboardStatus: add "Show layout" item

Add a menu item that opens a dialog showing the current keyboard
layout. Uses the new utility in libgnomekbd.

https://bugzilla.gnome.org/show_bug.cgi?id=641415

15 years agooverview: avoid round-off errors when sizing and positioning view selector
Owen W. Taylor [Mon, 21 Feb 2011 14:32:35 +0000 (09:32 -0500)]
overview: avoid round-off errors when sizing and positioning view selector

We need the view selector to extend all the way to the right edge of the
monitor, so size and position the view selector in a way that the sum of
its X position and its width add up to the primary monitor width.

https://bugzilla.gnome.org/show_bug.cgi?id=642834

15 years agocalendar: Update style
Florian Müllner [Wed, 9 Feb 2011 02:18:46 +0000 (03:18 +0100)]
calendar: Update style

The style used to highlight today's date should follow the style
of active panel buttons, so update it to reflect the new panel
style.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agopanel-buttons: Remove transitions for corner buttons
Florian Müllner [Fri, 18 Feb 2011 01:33:41 +0000 (02:33 +0100)]
panel-buttons: Remove transitions for corner buttons

So far transitions do not work for the custom drawn corners, so to
avoid a visible glitch when transitioning a button in the panel corner
while updating the style of the apparently attached corner instantly,
remove transition of those panel buttons until we make it work for the
custom drawn parts as well.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agopanel: Add rounded corners
Florian Müllner [Wed, 9 Feb 2011 02:12:10 +0000 (03:12 +0100)]
panel: Add rounded corners

Current mockups show the panel curving downwards at the edges to
frame the work area and look awesome. Implement those as separate
actors to not affect the struts set by the panel, and synchronize
their state with the corresponding panel buttons so they blend in
with the panel. It might be worth considering whether the corners
should be hidden with maximized windows on the current workspace,
though this might affect the illusion of them being part of the
panel. As the corners don't affect the input region, the small
overlap with windows might not be too bad after all.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agopanel: Adjust CSS for RTL locales
Florian Müllner [Sat, 19 Feb 2011 11:21:07 +0000 (12:21 +0100)]
panel: Adjust CSS for RTL locales

The groups at the panel sides use different left/right padding, so
a slightly different CSS is required for RTL locales. Add :rtl
pseudo classes as necessary and adjust the CSS.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agoappMenu: Clip app icon when the button is active
Florian Müllner [Fri, 18 Feb 2011 22:00:04 +0000 (23:00 +0100)]
appMenu: Clip app icon when the button is active

We now use a border image on active panel buttons to underline the
button's content. As the property does not affect the content's
allocation, the app icon ends up being drawn on top of the border
image. To prevent this, use a custom property to clip the bottom of
the app icon when the button is active.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agopanel: Update style
Florian Müllner [Wed, 9 Feb 2011 02:11:57 +0000 (03:11 +0100)]
panel: Update style

Update the style of the panel to match the latest mockups.

 - add a subtle border at the bottom of the panel
 - use a highlight of active panel buttons similar to the one
   used for running applications in the dash/app view
 - shadow the buttons' label/icon when highlighted

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agopanel: Move statusmenu initialization in the constructor
Florian Müllner [Fri, 18 Feb 2011 01:34:45 +0000 (02:34 +0100)]
panel: Move statusmenu initialization in the constructor

While related to the status area, the user status button is clearly
not a status icon, and it does not make too much sense in
startStatusArea(), which is about filling the status area with
icons. Also, the status icon container is added to the panel in
the constructor, in fact, the user status button is the only "toplevel"
panel element which is initialized elsewhere. Not a crucial change,
but makes for a nice read anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agosearch-entry: Update style
Florian Müllner [Thu, 10 Feb 2011 21:11:48 +0000 (22:11 +0100)]
search-entry: Update style

Update the style of the search entry to match the latest mockups[0].

 - use a (non-reactive) loupe icon when no search is active
 - use themed symbolic icons
 - make the entry rounder
 - tweak gradient colors
 - use an inset shadow

[0] http://git.gnome.org/browse/gnome-shell-design/plain/mockups/static/searchbox.png

https://bugzilla.gnome.org/show_bug.cgi?id=642335

15 years agotests: Add a box-shadow test
Florian Müllner [Wed, 16 Feb 2011 15:47:46 +0000 (16:47 +0100)]
tests: Add a box-shadow test

The original support for CSS based shadows has been extended with
support for an optional spread radius and the 'inset' keyword,
so with the additional complexity a dedicated test case looks
appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=642334

15 years agost-theme-node: Add support for inset box-shadows
Florian Müllner [Mon, 14 Feb 2011 01:34:00 +0000 (02:34 +0100)]
st-theme-node: Add support for inset box-shadows

Implement inset box-shadows as in the CSS3 draft[0]. As the shadow
should appear beneath the node's border, we pick the slow cairo based
rendering path (though a cogl based path could be added in case the
node has a solid background with no borders).

[0] http://www.w3.org/TR/css3-background/#box-shadow

https://bugzilla.gnome.org/show_bug.cgi?id=642334

15 years agost-shadow: Parse the 'inset' keyword
Florian Müllner [Mon, 14 Feb 2011 01:07:14 +0000 (02:07 +0100)]
st-shadow: Parse the 'inset' keyword

The box-shadow property in the CSS3 draft[0] supports the optional
'inset' keyword for inner shadows cast onto the background. Add
support for the keyword to the shadow parsing code.

[0] http://www.w3.org/TR/css3-background/#box-shadow

https://bugzilla.gnome.org/show_bug.cgi?id=642334

15 years agotheme-node-drawing: Rename render_background_with_border()
Florian Müllner [Mon, 14 Feb 2011 20:22:11 +0000 (21:22 +0100)]
theme-node-drawing: Rename render_background_with_border()

As more cases are added where we pick the slower cairo based
fallback path, use a more generic name.

https://bugzilla.gnome.org/show_bug.cgi?id=642334

15 years agost-entry: Add API to set an actor as primary/secondary icon
Florian Müllner [Thu, 10 Feb 2011 18:40:01 +0000 (19:40 +0100)]
st-entry: Add API to set an actor as primary/secondary icon

Currently an entry's primary/secondary icon can only be set by
filename. In order to allow using themed icons, add API to set
a generic ClutterActor as icon.

https://bugzilla.gnome.org/show_bug.cgi?id=642333

15 years agoIncrease padding of sources in summary
William Jon McCann [Mon, 21 Feb 2011 15:28:55 +0000 (10:28 -0500)]
Increase padding of sources in summary

Makes it feel less cramped and makes the targets larger and
easier to use.

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Mon, 21 Feb 2011 07:26:42 +0000 (09:26 +0200)]
Updated Hebrew translation.

15 years agoupdated kn translations
Shankar Prasad [Mon, 21 Feb 2011 07:23:13 +0000 (12:53 +0530)]
updated kn translations

15 years agoAdded kn.po and updated LINGUAS file
Shankar Prasad [Mon, 21 Feb 2011 07:14:44 +0000 (12:44 +0530)]
Added kn.po and updated LINGUAS file

15 years agoUpdate Czech translation
Petr Kovar [Mon, 21 Feb 2011 01:20:45 +0000 (02:20 +0100)]
Update Czech translation

15 years agoFix cursor when dragging a window over its current workspace
Owen W. Taylor [Mon, 14 Feb 2011 22:13:25 +0000 (17:13 -0500)]
Fix cursor when dragging a window over its current workspace

When we are dragging a window over its current workspace or workspace
thumbnail, we show show "no drop possible" feedback instead
of "move here" feedback.

https://bugzilla.gnome.org/show_bug.cgi?id=642329

15 years agoworkspaceThumbnail: forbid manipulations of removed workspaces
Owen W. Taylor [Mon, 14 Feb 2011 22:09:04 +0000 (17:09 -0500)]
workspaceThumbnail: forbid manipulations of removed workspaces

Don't allow dragging onto a removed workspace or activating it.

https://bugzilla.gnome.org/show_bug.cgi?id=642329

15 years agoworkspaceThumbnail: fix stacking for newly added actors
Owen W. Taylor [Mon, 14 Feb 2011 21:09:10 +0000 (16:09 -0500)]
workspaceThumbnail: fix stacking for newly added actors

We don't necessarily get a syncStacking call when an actor is added
at the top of the workspace, so make sure to set the stackAbove value
for it correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=642329

15 years agoUpdated Spanish translation
Jorge González [Sun, 20 Feb 2011 14:18:14 +0000 (15:18 +0100)]
Updated Spanish translation

15 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sun, 20 Feb 2011 11:24:21 +0000 (12:24 +0100)]
Updated Norwegian bokmål translation.

15 years agosearch-entry: Update hint text
Florian Müllner [Fri, 18 Feb 2011 18:35:17 +0000 (19:35 +0100)]
search-entry: Update hint text

'Search your computer' is problematic for various reasons:
 - it specifies the kind of device
 - it focuses on local search (while we also do web search)
 - it does not advertise the instant search functionality

Change the hint text to 'Type to search' as proposed by Allan Day.

https://bugzilla.gnome.org/show_bug.cgi?id=642287

15 years agolookingGlass: use new history manager implementation
Jasper St. Pierre [Sun, 13 Feb 2011 16:43:32 +0000 (11:43 -0500)]
lookingGlass: use new history manager implementation

This starts saving lookingGlass history in gsettings, and also adds
the ability to clear the text field by pressing 'down' on the last
entry, like the run dialog and readline allow.

https://bugzilla.gnome.org/show_bug.cgi?id=642237

15 years agorunDialog: use new history manager implementation
Jasper St. Pierre [Sun, 13 Feb 2011 16:42:04 +0000 (11:42 -0500)]
runDialog: use new history manager implementation

https://bugzilla.gnome.org/show_bug.cgi?id=642237

15 years agoAdd a history manager
Jasper St. Pierre [Sun, 13 Feb 2011 16:40:20 +0000 (11:40 -0500)]
Add a history manager

runDialog and lookingGlass both implement a home-made history
manager, each working slightly differently than each other in
behavior and implementation.

Extract the behavior and implementation from runDialog, which
reads and saves to GSettings.

https://bugzilla.gnome.org/show_bug.cgi?id=642237

15 years agoAdded UG translation
Abduxukur Abdurixit [Sat, 19 Feb 2011 14:32:48 +0000 (15:32 +0100)]
Added UG translation

15 years agodate-menu: Adjust boxpointer position for RTL locales
Florian Müllner [Fri, 18 Feb 2011 23:09:01 +0000 (00:09 +0100)]
date-menu: Adjust boxpointer position for RTL locales

We try to position the boxpointer centered above the calendar,
which swaps position with the events list when using a RTL locale,
so make the menu alignment dependent on the text direction.

https://bugzilla.gnome.org/show_bug.cgi?id=642721

15 years agodash: Adjust CSS in RTL locales
Florian Müllner [Fri, 18 Feb 2011 22:59:49 +0000 (23:59 +0100)]
dash: Adjust CSS in RTL locales

As the dash uses different widths and radii for left and right
borders, we need to use different CSS when it is positioned at
the right of the screen.

https://bugzilla.gnome.org/show_bug.cgi?id=642721

15 years agoworkspace-thumbnails: Update style
Florian Müllner [Mon, 14 Feb 2011 22:58:38 +0000 (23:58 +0100)]
workspace-thumbnails: Update style

For consistency, adjust background and border colors to match the
ones used by the dash.

15 years agoworkspaceThumbnails: Allow mousewheel scrolling
Sardem FF7 [Sat, 12 Feb 2011 09:11:20 +0000 (10:11 +0100)]
workspaceThumbnails: Allow mousewheel scrolling

Allow the user to switch the active workspace by using
the mousewheel over the workspace thumbnails.

https://bugzilla.gnome.org/show_bug.cgi?id=642303

15 years agoBe more careful with workspace thumbnail scale
Owen W. Taylor [Fri, 18 Feb 2011 15:31:18 +0000 (10:31 -0500)]
Be more careful with workspace thumbnail scale

- When tweening a workspace to collapse it, round the multiplied
  height so that we don't change other workspace sizes via rounding
  differences.
- Use separate horizontal and vertical scales, so that every thumbnail
  has the same horizontal scale.

https://bugzilla.gnome.org/show_bug.cgi?id=641881

15 years agoFix workspace thumbnails in RTL locales
Owen W. Taylor [Fri, 18 Feb 2011 14:41:43 +0000 (09:41 -0500)]
Fix workspace thumbnails in RTL locales

We need slightly different CSS and positioning logic for
the workspace thumbnails list when it is on the left side of the
screen.

https://bugzilla.gnome.org/show_bug.cgi?id=642672

15 years agoOmit the panel area from the previewed workspaces
Owen W. Taylor [Sun, 13 Feb 2011 21:53:15 +0000 (16:53 -0500)]
Omit the panel area from the previewed workspaces

Allow defining a "porthole" that is the visible area of a workspace
thumbnail, and use this to clip the portion under the panel off the
workspace thumbnails. (This is wrong for fullscreen windows, but not
very wrong, and hopefullly the few missing pixels will be
unnoticeable.)

https://bugzilla.gnome.org/show_bug.cgi?id=641880

15 years agoFix position of indicator while tweening
Owen W. Taylor [Sat, 12 Feb 2011 21:33:42 +0000 (16:33 -0500)]
Fix position of indicator while tweening

Because the overall parent allocation width immediately when the workspace
count changes, we were sometimes drawing the indicator in the wrong place
in the indicator animation that proceeded the remove-workspace animation.
Fix this by tweening only the Y position of the indicator and computing
the X position and size in our allocate() method. This also is considerably
simpler than switching the indicator between fixed position and geometry
managed.

https://bugzilla.gnome.org/show_bug.cgi?id=641881

15 years agoAnimate workspace indicator before adding/removing workspaces
Owen W. Taylor [Sat, 12 Feb 2011 21:14:12 +0000 (16:14 -0500)]
Animate workspace indicator before adding/removing workspaces

Rather than killing the workspace indicator indicator when we remove
workspaces because the source and target locations might have changed,
do it as a separate first step. This provides a better explanation
than doing it simultaneously with the addition/removal or not at all
and also keeps our computations simple.

https://bugzilla.gnome.org/show_bug.cgi?id=641881

15 years agoFix background to animate with thumbnails
Owen W. Taylor [Sat, 12 Feb 2011 20:23:27 +0000 (15:23 -0500)]
Fix background to animate with thumbnails

When we animating the scale for the thumbnails, the border and
background should wrap around the current size of the thumbails.
The technique that we are using to animate the scale breaks that
since we don't animate the overall size of the thumbnails box -
we just animate our child actors within the allocation.

To fix this, switch from drawing the background by packing in another
container to drawing the background with a separate actor that
is under the other actors and allocated by our custom logic.

https://bugzilla.gnome.org/show_bug.cgi?id=641881

15 years agoSlide workspace thumbnails in when added and out when removed
Owen W. Taylor [Sat, 12 Feb 2011 19:40:49 +0000 (14:40 -0500)]
Slide workspace thumbnails in when added and out when removed

To explain to the user what is happening, instead of abruptly changing
updating the workspace thumbnail list, slide thubmnails in and out
as they are added and removed.

To implement this, we track a state for each thumbnail and when things
change go through a process of first sliding removed thumbnails out,
then ollapsing the left-over spaces and rescaling the thumbnails, then
finally sliding newly added thumbnails in.

https://bugzilla.gnome.org/show_bug.cgi?id=641881

15 years agoAnimate scale changes to workspace thumbnails
Owen W. Taylor [Fri, 11 Feb 2011 22:05:35 +0000 (17:05 -0500)]
Animate scale changes to workspace thumbnails

When we change the overall scale of the workspace thumbnail container, instead of
doing it abruptly, animate the transition.

https://bugzilla.gnome.org/show_bug.cgi?id=641881

15 years agoStEntry: remove special redundant hover tracking
Dan Winship [Wed, 16 Feb 2011 17:02:14 +0000 (12:02 -0500)]
StEntry: remove special redundant hover tracking

For historical reasons, StEntry always did hover tracking when you had
visible hint_text, even if track_hover was FALSE. Remove that special
case, and make entries track hover just like all other widgets do.

If we actually needed to distinguish hovered-with-hint-text from
hovered-without-hint-text (which, at the moment, we don't), we could
do that by setting separate CSS for :hover and :hover:indeterminate.

https://bugzilla.gnome.org/show_bug.cgi?id=642483

15 years agoa11y: Adjust schemas for screen keyboard
Florian Müllner [Thu, 17 Feb 2011 19:45:17 +0000 (20:45 +0100)]
a11y: Adjust schemas for screen keyboard

The setting in org.gnome.desktop.default-applications.at
has been removed, use the corresponding setting in
org.gnome.desktop.a11y.applications instead.

15 years agoa11y: Adjust schema for screen reader
Florian Müllner [Thu, 17 Feb 2011 15:15:29 +0000 (16:15 +0100)]
a11y: Adjust schema for screen reader

The setting in org.gnome.desktop.default-applications.at
has been removed, use the corresponding setting in
org.gnome.desktop.a11y.applications instead.

15 years agoshell-a11y: Adjust for renamed 'accessibility' key
Florian Müllner [Thu, 17 Feb 2011 17:47:31 +0000 (18:47 +0100)]
shell-a11y: Adjust for renamed 'accessibility' key

The key in org.gnome.desktop.interface has been renamed to
'toolkit-accessibility'.

15 years agovolume: Increase maximum by 50% for outputs with decibel support
Adel Gadllah [Wed, 9 Feb 2011 20:18:20 +0000 (21:18 +0100)]
volume: Increase maximum by 50% for outputs with decibel support

Volume should go up to 150% if the sound card used as output has
decibel volume support.

https://bugzilla.gnome.org/show_bug.cgi?id=641886

15 years agopanel: fix app menu visibility after quick overview visit
Owen W. Taylor [Wed, 16 Feb 2011 20:17:46 +0000 (15:17 -0500)]
panel: fix app menu visibility after quick overview visit

If you left the overview immediately after entering it (either
intentionally or due to a bug), the app menu would mistakenly end up
hidden due to flaky interaction between its show() and hide() methods.

Based on a patch by Dan Winship <danw@gnome.org>

https://bugzilla.gnome.org/show_bug.cgi?id=641117

15 years agoScale thumbnails to fit in the vertical space
Owen W. Taylor [Fri, 11 Feb 2011 17:09:23 +0000 (12:09 -0500)]
Scale thumbnails to fit in the vertical space

When we have more thumbnails than can fit in the vertical space, scale
them down. This is implemented by using a generic container so we can
compute positions and sizes on the fly and do the appropriate
width-for-height behavior.

The usage of clutter constraints to position the indicator is droppped
since it less complicated to just position the indicator in the right
place ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=641879

15 years agoworkspacesView: Update zoom scale when controls are reallocated
Owen W. Taylor [Thu, 10 Feb 2011 22:15:36 +0000 (17:15 -0500)]
workspacesView: Update zoom scale when controls are reallocated

The scale we zoom to in the "zoomed out" mode depends on the width of the
controls area. Once we rescale the workspaces dynamically, we'll need to
update the zoom scale as we add and remove workspaces.

https://bugzilla.gnome.org/show_bug.cgi?id=641879

15 years agoUse a fixed width for visible portion of workspace thumbnails
Owen W. Taylor [Thu, 10 Feb 2011 00:07:27 +0000 (19:07 -0500)]
Use a fixed width for visible portion of workspace thumbnails

We will change the workspace thumbnail size as we get more thumbnails; it doesn't
really make sense to always show 1/5 of the thumbnails how big or small they are,
so instead show a CSS-configurable length.

https://bugzilla.gnome.org/show_bug.cgi?id=641879

15 years agoImprove allocation of workspace controls
Owen W. Taylor [Wed, 9 Feb 2011 23:54:46 +0000 (18:54 -0500)]
Improve allocation of workspace controls

Fix a bug in the computation of the zoomed-out scale and use a StBin
instead of an unnecessary StBoxLayout. Using the StBin will allow
correct width-for-height behavior for the controls.

https://bugzilla.gnome.org/show_bug.cgi?id=641879

15 years agoMake a separate class for workspace thumbnails box
Owen W. Taylor [Wed, 9 Feb 2011 20:48:11 +0000 (15:48 -0500)]
Make a separate class for workspace thumbnails box

Add WorkspaceThumbnail.ThumbnailsBox to handle managing the array
of workspace thumbnails; the logic will get more complex as we add
scaling and animation.

https://bugzilla.gnome.org/show_bug.cgi?id=641879

15 years agognome_shell_plugin_start: fix bluetooth g_log muting
Dan Winship [Thu, 17 Feb 2011 15:54:30 +0000 (10:54 -0500)]
gnome_shell_plugin_start: fix bluetooth g_log muting

gnome-bluetooth changed its G_LOG_DOMAIN, so it was escaping our
filters. Fix that.

15 years agoRevert "a11y: Adjust schemas for screen reader and keyboard"
Florian Müllner [Thu, 17 Feb 2011 15:52:24 +0000 (16:52 +0100)]
Revert "a11y: Adjust schemas for screen reader and keyboard"

This reverts commit 4f23f32fc128e04907f09ee1c0fbf5e7b877e484.